mobilePurchaseState
Type
function
Summary
Returns the status of an active purchase.
Syntax
mobilePurchaseState(<purchaseID>)
Description
Use the mobilePurchaseState function to retrieve the status of a purchase.
The mobilePurchaseState function returns a string describing the current state of the purchase defined by purchaseID.
Parameters
Name | Type | Description |
---|---|---|
purchaseID | a numeric purchase identifier |
Examples
put mobilePurchaseState(tPurchaseID) into tPurchaseState
if mobilePurchaseState(tPurchaseID) is "initialized" then
updateProperties
end if
Related
message: purchaseStateUpdate
command: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobileEnablePurchaseUpdates, mobilePurchaseCreate
function: mobilePurchases, mobilePurchaseGet, mobileCanMakePurchase, mobilePurchaseError
Compatibility and Support
Introduced
LiveCode 5.0.1
OS
ios
android
Platforms
mobile